from django.urls import path
from rest_framework.routers import SimpleRouter
from .views import OrderPayView, OrderSuccessView

router = SimpleRouter()
router.register('pay', OrderPayView, 'pay')

urlpatterns = [
    path('success/', OrderSuccessView.as_view())
]
urlpatterns += router.urls
